{temp('html/recruit/pc/head')}

	<script type="text/javascript">
      window.document.onkeydown=function(){
			if(window.event.keyCode==27){
			 	art.dialog.close();
			}
		}
	</script>
</head>
<body style="background-color:#FFF">
	<div class="w_530 h_395 bc_FFF bor_137ABF">
		<div class="w_bai h_40 bc_137ABF l_h40">
			<div class="f_l l_m20 c_FFF">对视频评论</div>
			<div class="f_r r_m20 t_m12 close2" onclick="closeWindow()"></div>
		</div>
		<div class="w_bai dis_inline t_m40 c_656565">
			<div class="f_l l_m70 c_656565">姓名</div>
			<div class="f_l l_m10">{$name}</div>
		</div>
		<div class="w_bai t_m20 dis_inline">
			<div class="f_l t_m8 l_m40 c_656565">评论内容</div>
			<div class="f_l l_m10 ">
				<textarea rows="3" cols="20" class="w_380 h_180" id="content"></textarea>
			</div>
		</div>
		<div class="l_m85 t_m30 dis_inline">
			<div class="f_l w_65 h_35 l_m20 l_h35 t_c c_FFF bc_E16400 point" onclick="pl({$did},{$spid},{$hpid})">
				保存
			</div>
			<div class="f_l w_65 h_35 l_m16 l_h35 t_c c_FFF bc_E16400 point" onclick="closeWindow()">
				取消
			</div>
		</div>
	</div>
	<script type="text/javascript">
		function closeWindow(){
			parent.closeWindow();
		}
		function pl(did,spid,hpid){
			 var content = $("#content").val();
			$.post('{$_url}/?act=job&met=pl_c',{lmid:1,zid:spid,uid:did,plid:0,hdid:0,content:content,hpid:hpid},function(data){
				if(data=='cg'){
					top.location.href='{$_url}/?act=job&met=kcxx&spid='+spid+'&zjid='+did;
				}else{
					alert(data);
				}

			});
		}
	</script>
</body>
</html>